Pod::Spec.new do |s|
s.name         = 'MCKit'
s.version      = '3.8.2'
s.summary      = 'MCKit/MCAlert&MCAppVersionManager&MCNetworking'
# s.description  = "描述不可以为空"
s.homepage     = 'https://gitee.com/CoderXSLee/MCKit-s'
s.license      = { :type => 'MIT', :file => 'LICENSE' }
s.authors      = { 'CoderXSLee' => 'coderxslee@qq.com' }
s.platform     = :ios, '10.0'
s.ios.deployment_target = '10.0'
# s.social_media_url = 'http://'
s.source       = { :git => 'https://gitee.com/CoderXSLee/MCKit-s.git', :tag => s.version }
s.requires_arc = true

    s.subspec 'MCAlert' do |ss|
        ss.source_files = 'MCKit/MCAlert/**/*.{h,m}'
        ss.public_header_files = 'MCKit/MCAlert/*.{h}'
    end
    
    s.subspec 'MCAppVersionManager' do |ss|
        ss.source_files = 'MCKit/MCAppVersionManager/**/*.{h,m}'
        ss.public_header_files = 'MCKit/MCAppVersionManager/*.{h}'
    end

    s.subspec 'MCNetworking' do |ss|
        ss.source_files = 'MCKit/MCNetworking/**/*.{h,m}'
        ss.public_header_files = 'MCKit/MCNetworking/*.{h}'
        ss.dependency 'MJExtension'
        ss.dependency 'AFNetworking'
        ss.dependency 'LLDynamicLaunchScreen'
        
        # ss.resource     = 'MCTip.bundle'
        # ss.vendored_libraries = 'xxx/xxx/*.a'
        # ss.vendored_frameworks = 'MCKit/MCNetworking/MCNetworking.framework'
        
        # ss.libraries = 'sqlite3'
        # ss.frameworks = 'CoreFoundation', 'CoreGraphics', 'Foundation', 'MobileCoreServices', 'QuartCore', 'Security', 'SystemConfiguration', 'UIKit'
    end

end
